<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/Site.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/zy.all.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/font-awesome.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/amazeui.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/admin.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/zy.menu.css" />
		<style>

		</style>

		<body>
			<div class="dvcontent">

				<div>
					<!--tab start-->
					<div class="tabs">
						<div class="hd">
							<ul style="">
								<li style="box-sizing: initial;-webkit-box-sizing: initial;" class="on">货主信息修改</li>
							</ul>
						</div>
						<div class="bd">
							<ul class="theme-popbod dform" style="display: none;">
									<!-- content start -->

									<div class="am-cf admin-main" style="padding-top: 0px;">
										<!-- content start -->
										<div class="admin-content">
											<div class="admin-content-body">

												<div class="am-g">
													<div class="am-u-sm-12 am-u-md-4 am-u-md-push-8">

													</div>
													<div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4" style="padding-top: 30px;">
														<form class="am-form am-form-horizontal" action="${pageContext.request.contextPath }/storer/update" method="post">
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">货主编号</label>
																<div class="am-u-sm-9">
																	<input type="text" required placeholder="货主编号" name="storer_id" value="${storer.storer_id }" readonly="readonly">
																</div>
															</div>
															
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">公司名字</label>
																<div class="am-u-sm-9">
																	<input type="text" required placeholder="公司名字" name="company" value="${storer.company}"></td>
																</div>
															</div>
															
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">联系电话</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="联系电话" name="phone" value="${storer.phone }"></td>
																</div>
															</div>
															
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">地址</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="地址" name="address" value="${storer.address }"></td>
																</div>
															</div>
															
															<div class="am-form-group">
																<label for="name" class="am-u-sm-3 am-form-label">邮件</label>
																<div class="am-u-sm-9">
																	<input type="text"  required placeholder="邮件" name="email" value="${storer.email }"></td>
																</div>
															</div>
															
															<div class="am-form-group">
																<label for="user-intro" class="am-u-sm-3 am-form-label">备注</label>
																<div class="am-u-sm-9">
																	<textarea  rows="5" id="user-intro" name="comment" value="${storer.comment }" placeholder="输入备注"></textarea>
																	<small>250字以内...</small>
																</div>
															</div>
															<div class="am-form-group">
																<div class="am-u-sm-9 am-u-sm-push-3">
																	<input type="submit"  class="am-btn am-btn-success" value="修改" />
																	<input type="submit"  class="am-btn am-btn-success" value="返回" onclick="window.location='${pageContext.request.contextPath }/storer/findAll'"/>
																</div>
															</div>
														</form>
													</div>
												</div>
											</div>

										</div>
										<!-- content end -->
									</div>
									<!-- end-->
							</ul>
							</div>
						</div>
						<!--tab end-->

					</div>

					<script src="${pageContext.request.contextPath }/js/jquery-1.7.2.min.js" type="text/javascript"></script>
					<script src="${pageContext.request.contextPath }/js/plugs/Jqueryplugs.js" type="text/javascript"></script>
					<script src="${pageContext.request.contextPath }/js/_layout.js"></script>
					<script src="${pageContext.request.contextPath }/js/plugs/jquery.SuperSlide.source.js"></script>
					<!-- 这里用JavaScript来实现根据该学生的专业ID来显示专业名 -->
					 <!-- 这里用JavaScript来实现根据该学生的专业ID来显示专业名 -->
						 <script type="text/javascript">
			  				/* document.getElementById("student.major.id").value= <s:property value="#student.major.id"/> */
			  			</script>
					
					<script>
						var num = 1;
						$(function() {

							$(".tabs").slide({
								trigger: "click"
							});

						});

					</script>

				</div>
		</body>

</html>